﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace OpenPhotoAlbum.Controls
{
    public class SingleLineListView : ListView
    {
        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);

            this.Style[HtmlTextWriterStyle.Display] = "inline";
            this.Style[HtmlTextWriterStyle.WhiteSpace] = "nowrap";
        }
    }
}
